package kgame5.pbe.atlantic.event {
	import flash.events.Event;

	/**
 * @author kk
 * 注意data中需要包含消息的来源。
 */
public class GameCommandEvent extends Event{
	public static const TYPE:String="GameCommandEvent";
	//___________________Property_____________________
	
	//这两个，参考pureMVC Inotifycation.getName(),getBody();
	public var commandName:String;//具体名称
	public var data:Object;//值
	
	//____________________Method__________________
	public function GameCommandEvent(p_commandName:String,p_data:Object=null){
		super(TYPE);
		commandName=p_commandName;
		data=p_data;
	}
	
	public override function clone():Event{
		return new GameCommandEvent(commandName,data);
	}
	
}
}
